package com.gsdsxsys.dao.impl;

import java.util.List;

import org.apache.ibatis.session.SqlSession;

import com.gsdsxsys.dao.GoosDao;
import com.gsdxsys.entity.Goods;

public class GoodsDaoImpl  extends MybatisBaseDao implements GoosDao{

	@Override
	public List<Goods> selectAll(SqlSession session) {
		List<Goods> goodses= super.selectList(session, "GoodsMapper.selectAll");
		return goodses;
	}

	@Override
	public int insertGoods(SqlSession session, Goods goods) {
	   int result=	super.insert(session, "GoodsMapper.inserGoods", goods);
		return result;
	}

	

}
